//
//  ZYCCommonBaseModel.m
//  ZDSC
//
//  Created by ZDTX on 2021/9/3.
//

#import "ZYCCommonBaseModel.h"
@interface ZYCCommonBaseModel ()<NSCoding>


@end
@implementation ZYCCommonBaseModel

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper{
    return @{
        @"name":
            @[@"name",@"courseName",@"keyValue",@"className",@"subjectName",@"listenClassTypeName",@"deptName",@"postName",@"dictLabel"],
        @"nameId":
            @[@"semesterId",@"courseId",@"keyID",@"classId",@"subjectId",@"listenClassTypeId",@"deptId",@"postId",@"dictValue"]
        
    };
}

//归档
-(void) encodeWithCoder:(NSCoder *)aCoder{
    [self yy_modelEncodeWithCoder:aCoder];
}

//解档
-(id) initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    return [self yy_modelInitWithCoder:aDecoder];
}

@end
